<extend name="_layout/main" />
<block name="content">


    <div id="mws-container" class="clearfix">
        <div class="container">



            <div class="mws-panel grid_8">
                <div class="mws-panel-header">
                    <span class="mws-i-24 i-list">品牌添加</span>
                </div>
                <div class="mws-panel-body">
                    <form class="mws-form" action="{:U('')}" method="post">
                        <div class="mws-form-inline">
                            <div class="mws-form-row">
                                <label>品牌名称</label>
                                <div class="mws-form-item small">
                                    <input name="bname" type="text" class="mws-textinput" />
                                </div>
                            </div>




                            <!--<div class="mws-form-row">-->
                                <!--<label>分类介绍</label>-->
                                <!--<div class="mws-form-item large">-->
                                    <!--<textarea rows="100%" cols="100%"></textarea>-->
                                <!--</div>-->
                            <!--</div>-->
                            <div class="mws-form-row">
                                <label>品牌上级分类</label>
                                <div class="mws-form-item small">
                                    <select name="parentid">
                                        <option value="0">顶级分类</option>
                                        <volist name="datas" id="data">

                <option value="{$data['id']}"> {:str_repeat('-',$data['level']*5)}{$data.bname}</option>

                                        </volist>
                                    </select>
                                </div>
                            </div>

                            <!--<div class="mws-form-row">-->
                                <!--<label>分类排序</label>-->
                                <!--<div class="mws-form-item small">-->
                                    <!--<input name="sort" type="text" class="mws-textinput" value="10" />-->
                                <!--</div>-->
                            <!--</div>-->


                        </div>
                        <div class="mws-button-row">
                            <input type="submit" value="Submit" class="mws-button green" />

                        </div>
                    </form>
                </div>
            </div>


        </div>

        <div id="mws-footer">
            Copyright &copy; 2014.Company name All rights reserved.<a target="_blank" href="http://www.17sucai.com/">&#x7F51;&#x9875;&#x6A21;&#x677F;</a>
        </div>

    </div>

</block>